author = "Albot_crane"


def add(*args):
    result = 0
    for i in args:
        result += i
    return result


def total(*args):
    """
    :param args: 接收一些整数
    :return: 列表中的每个数的平方和
    """
    result = 0
    for i in args:
        result += i ** 2
    return result


def total1(a):
    result = 0
    for i in a:
        result += i ** 3
    return result
